import FormConnectorSetting from './FormConnectorSetting.vue';
import FormConnectorPreview from './FormConnectorPreview.vue';
import FormConnector from './FormConnector.vue';
import FormConnectorView from './FormConnectorView.vue';
import { t } from '@src/locales'

let FormConnectorField = {
  formType: 'connector', // 字段类型
  name: t('common.connector.title.connector'),
  isSystem: 0,
  forceDelete: true,
  previewIcon:'icon-api',
  subFormFieldList: [],
  component: {
    preview: FormConnectorPreview,
    build: FormConnector,
    view: FormConnectorView,
    setting: FormConnectorSetting,
    extend: {
      'task_connector_setting': FormConnectorSetting,
      'task_receipt_connector_setting': FormConnectorSetting,
    }
  }
};

export default FormConnectorField;
